﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Default.master" AutoEventWireup="true"
    CodeBehind="UserHome.aspx.cs" Inherits="AUV5.Web.Pages.UserHome" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="UCServiceList.ascx" TagName="UCServiceList" TagPrefix="uc1" %>
<%@ Register Src="UCService.ascx" TagName="UCService" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/!js/service_detail.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="sellerbar">
        <div class="avatarbar">
            <p>
                <asp:Image ID="imgUser" runat="server" />
            </p>
            <p>
                <asp:LinkButton ID="lbtnContract" runat="server">联系我</asp:LinkButton>
            </p>
            <p>
                <a class="colorbox_report" href='/Pages/Inform.aspx?username=<%=userName%>' <%=userName==(base.IsVerified?base.VerifiedInfo.User.UserName:userName)?"style='display:none'":"" %>
                    target="_blank">举报该用户</a>
            </p>
        </div>
        <div class="sellerinfobar">
            <p class="sellername">
                <asp:Label ID="lblUserName" runat="server" Text=""></asp:Label>
            </p>
            <p class="sellerinfo">
                <span>
                    <asp:Image ID="imgUserLevel" runat="server" /></span> <span class="praise">好评率：<asp:Label
                        ID="lblReceivedRate" runat="server" Text=""></asp:Label></span> <span>性别：<asp:Label
                            ID="lbGender" Text="" runat="server" /></span> <span>所在地:
                                <asp:Label ID="lbAddress" Text="" runat="server" />
                            </span>
            </p>
            <p class="sellerinfo">
                <span>加入时间：<asp:Label ID="lblJoin" runat="server" Text=""></asp:Label></span> <span>
                    最后登录:
                    <asp:Label ID="lblLastActivity" runat="server" Text=""></asp:Label></span>
            </p>
            <p class="sellersignature">
                <asp:Label ID="lblDesc" runat="server" Text=""></asp:Label>
            </p>
            <p>
                <asp:HyperLink ID="hlUserProfile" runat="server" NavigateUrl="/Pages/UserBasicInfo.aspx"
                    Visible="false">修改个人信息</asp:HyperLink>
            </p>
        </div>
        <p class="clear">
        </p>
    </div>
    <asp:Repeater ID="repService" runat="server">
        <ItemTemplate>
            <uc2:UCService ID="UCService1" runat="server" ServiceID="<%#(Container.DataItem as AUV5.Model.ServiceInfo).ServiceID %>"
                IsList="true" IsWhiteBg="<%#(Container.ItemIndex%2!=0?true:false) %>" />
            <br />
        </ItemTemplate>
    </asp:Repeater>
    <div id="noResultPanel" class="guide_bg" runat="server">
        <img src="/!images/guide_bg.jpg" />
        <span class="btn_guide"><a href="/Pages/ServiceAdd.aspx">
            <img src="/!images/btn_guideoff.jpg" onmouseover="this.src='/!images/btn_guideon.jpg'"
                onmouseout="this.src='/!images/btn_guideoff.jpg'" /></a></span>
    </div>
    <%--<p class="buyersreview">
        <%= base.IsVerified ? base.VerifiedInfo.User.UserName==userName ? "我" : "他/她" : "他/她" %>的收藏
    </p>
    <div class="list">
        <ul>
            <uc1:UCServiceList ID="UCServiceList1" runat="server" />
        </ul>
        <div class="pages">
            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
                CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页" PageIndexBoxType="DropDownList"
                PagingButtonLayoutType="Span" SubmitButtonText="Go" TextAfterPageIndexBox="页"
                TextBeforePageIndexBox="转到" PageSize="3" PagingButtonSpacing="" CurrentPageButtonClass="currentpage"
                ButtonImageExtension=".jpg" ImagePath="/!images/" ShowPageIndexBox="Never">
            </webdiyer:AspNetPager>
        </div>
    </div>--%>
</asp:Content>
